package com.ruoyi.project.wms.essentials.details.domain;

import com.ruoyi.project.wms.product.domain.WmsProduct;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 进货订单商品对象 wms_purchase_details
 * 
 * @author ruoyi
 * @date 2020-10-29
 */
public class WmsPurchaseDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订货单ID */
    @Excel(name = "订货单ID")
    private Integer detPurId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Integer detPurPId;

    /** 订货数量 */
    @Excel(name = "订货数量")
    private Integer detPurPCount;

    //商品信息
    private WmsProduct wmsProduct;
    //库存信息


    public WmsProduct getWmsProduct() {
        return wmsProduct;
    }

    public void setWmsProduct(WmsProduct wmsProduct) {
        this.wmsProduct = wmsProduct;
    }

    public void setDetPurId(Integer detPurId)
    {
        this.detPurId = detPurId;
    }

    public Integer getDetPurId()
    {
        return detPurId;
    }
    public void setDetPurPId(Integer detPurPId)
    {
        this.detPurPId = detPurPId;
    }

    public Integer getDetPurPId()
    {
        return detPurPId;
    }
    public void setDetPurPCount(Integer detPurPCount) 
    {
        this.detPurPCount = detPurPCount;
    }

    public Integer getDetPurPCount() 
    {
        return detPurPCount;
    }

    @Override
    public String toString() {
        return "WmsPurchaseDetails{" +
                "detPurId=" + detPurId +
                ", detPurPId=" + detPurPId +
                ", detPurPCount=" + detPurPCount +
                ", wmsProduct=" + wmsProduct +
                '}';
    }
}
